@extends('base')
@section('title','管理员列表')
@section('content')
<div class="x-body">
    <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">管理员管理</a>
            <a>
              <cite>管理员列表</cite></a>
          </span>
            <span class="layui-btn layui-btn-small" onclick="pop_show('添加管理员','/admin/adminAdd',1200,680)" style="line-height:1.6em;padding-top:8px;float:right" id="PauseDataOperation">＋&nbsp;添加管理员</span>
     </div>

    <table class="layui-table" id="test" lay-filter="test">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>ID</th>
            <th>登录名</th>
            <th>联系电话</th>
            <th>加入时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        @foreach($admin_data as $admin)
            <tr>
                <td>{{$admin->admin_id}}</td>
                <td>{{$admin->login_name}}</td>
                <td>{{$admin->phone}}</td>
                <td>{{$admin->c_time}}</td>
                <td>修改</td>
            </tr>
        @endforeach
        </tbody>
    </table>
    <div class="page">
        {{ $admin_data->links() }}
    </div>

</div>
<script>

</script>
@endsection